import request from '../utils/index'
export default {
    goodsList() {
        return request({
            url: '/host',
            method: 'get',
        })
    },
    dele(id) {
       return request({
            url: `/del/${id}`,
            method: 'delete'
        })
    },
    editForm(){
        return request({
            url:'/editt',
            method:'post'
        })
    },
    searchForm(){
        return request({
            url:'/search',
            method:'put'
        })
    }
}